<template>
	<div class="home">
		<div class="m_layout">
			<!-- 头部区 -->
			<HomeHeaderView></HomeHeaderView>
			<!-- 轮播图-->
			<HomeBannerView></HomeBannerView>
			<!--导航-->
			<!--<HomeNavView></HomeNavView>-->
			<!--商品区-->
			<HomeMainView></HomeMainView>
			<NavBottomView></NavBottomView>

		</div>
	</div>
</template>
<script>
	import HomeHeaderView from './HomeHeader.vue';
	import HomeBannerView from './HomeBanner.vue';
	import HomeNavView from './HomeNav.vue';
	import HomeMainView from './HomeMain.vue';
	import NavBottomView from './NavBottom.vue';

	//  import {bindEvent,scrollPic} from '../assets/js/index.js'
	export default {
		components: {
			HomeHeaderView,
			HomeBannerView,
			HomeNavView,
			HomeMainView,
			NavBottomView

		},
		mounted() {
			//      bindEvent();
			//      scrollPic();
		},
		created() {
			console.log('this.username11', this.username)
			console.log('this.$store.state.user_name11', this.$store.state.user_name)
		},
	}
</script>
<style>
	@import '../assets/css/index.css';
</style>